const Path = require("path");

module.exports = function ({ content, path, option, fileInfo }) {
    const uglifycss = require(Path.resolve(option.nmodulePath, './uglifycss'));
    return uglifycss.processString(content, Object.assign({
        uglyComments: true,
        cuteComments: true
    }, option.compiler.uglifycss));
};